<!DOCTYPE html>
<!--<%@ page contentType="text/html;charset=UTF-8" language="java" %>-->
<html>
<head>
    <title>Title</title>
    <!-- jquery 核心 JavaScript 文件 -->
    <script src="static/js/jquery-3.5.1.min.js"></script>
    <!-- Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="static/bootstrap-3.3.7-dist/css/bootstrap.min.css">
    <!-- Bootstrap 核心 JavaScript 文件 -->
    <script src="static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    <script src="static/bootstrap-alert-extend/bootstrap-alert-extend.js"></script>
    <meta http-equiv="content-type" content="txt/html; charset=utf-8"/>
    <style type="text/css">

        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }


        /*div[class|=col]{*/
        /*    border: 1px solid;*/
        /*}*/
        a:hover, a:focus, a:link, a:visited, a:active {
            text-decoration: none;
        }

        li {
            text-align: center;
        }

    </style>
    <script>
        $(function () {
            $("#btn1").click(function () {
                //动态更换 load将远程url对应的页面源码包含到指定选择器中
                $("#main").load("userlist.jsp");
            });
            $("#btn2").click(function () {
                //动态更换 load将远程url对应的页面源码包含到指定选择器中

                $("#main").load("test6.jsp");
            });
            $("#btn3").click(function () {
                //动态更换 load将远程url对应的页面源码包含到指定选择器中
                $("#main").load("test7.jsp");
            });
        });
    </script>
</head>

<body>
<div style="height: 100%">
    <nav class="navbar-default">
        <div class="container">
            <!--导航条 -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                        data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">XX管理系统 <small> V1.0</small> </a>
            </div>

            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">欢迎：<span class="text-danger">XXX</span></a></li>
                    <li><a href="index_1.html"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>主页</a>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                           aria-expanded="false">
                            <span class="glyphicon glyphicon-user" aria-hidden="true"></span> 个人中心<span
                                class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="#"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> 修改密码</a>
                            </li>
                            <li role="separator" class="divider"></li>
                            <li><a href="#"><span class="glyphicon glyphicon-log-out" aria-hidden="true"></span>
                                注销登录</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </nav>


    <!--页面中心内容-->

    <div class="row" style="height: 90%">
        <div class="col-sm-2" style="background: #DDDDDD;height: 100%;">
            <!--菜单组建-->
            <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"
                 style="padding-left: 10px; padding-right: 10px; padding-top: 20px">
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingOne" style="text-align:center">
                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" class="collapsed" aria-controls="collapseOne" >
                            <h4 class="panel-title">用户管理</h4>
                        </a>
                    </div>
                    <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
                        <div class="panel-body">
                            <ul class="list-group">
                                <li class="list-group-item"><a href="javascript:;" id="btn1">用户管理列表</a></li>
                                <a href="javascript:;" id="btn3">
                                    <li class="list-group-item">用户管理日记</li>
                                </a>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingTwo" style="text-align:center">
                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" class="collapsed" aria-controls="collapseTwo" >
                            <h4 class="panel-title">员工管理</h4>
                        </a>
                    </div>
                    <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
                        <div class="panel-body">
                            <ul class="list-group">
                                <li class="list-group-item"><a href="">员工管理列表</a></li>
                                <li class="list-group-item"><a href="javascript:;" id="btn2">员工管理信息</a></li>

                                <li class="list-group-item"><a href="">员工管理日记</a></li>
                            </ul>
                        </div>
                    </div>
                </div>

            </div>
        </div>

        <div id="main">
            <div class="col-sm-10">
                <!--中心内容-->


            </div>
        </div>

    </div>
</div>
</body>
</html>
